/*
 * properties-parse.h
 *
 *  Created on: 12.03.2013
 *      Author: SomeChineseGuy
 */

#ifndef PROPERTIES_PARSE_H_
#define PROPERTIES_PARSE_H_

#include <string>
#include <fstream>
#include <vector>

using namespace std;

struct propertyPair{
		string name;
		string value;
	};

class PropertiesParser {

	private:

	char* filename;

	vector<propertyPair*> list;

	public:

	PropertiesParser(char*);
	~PropertiesParser();

	int parseProperties();
	char* getPropertyByName(char*);

	void clearList();


};

#endif /* PROPERTIES_PARSE_H_ */
